package com.example.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.system.entity.ChatRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 王鹤蒲
 * @since 2024-02-28
 */
@Mapper
public interface ChatRecordMapper extends BaseMapper<ChatRecord> {

    public List<ChatRecord> findByUserName(String sender,String receiver);


    public List<ChatRecord> findByReceiver(String receiver);


}
